package com.dou.service;

import com.dou.dao.OrderMapper;
import com.dou.entity.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderServiceImpl implements OrderService{
    @Autowired
    private OrderMapper orderMapper;
    @Override
    public List<Order> getAllOrder() {
        return orderMapper.getAllOrder();
    }
}
